import 'package:flutter/material.dart';
import 'package:lib_ui/lib_ui.dart';
import 'package:lib_ui/widget/common_text_field.dart';
import 'package:lib_ui/widget/main_button.dart';

class TestLoginPage extends StatelessWidget {
  const TestLoginPage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: TransparentAppBar(
        title: '登录',
      ),
      body: Container(
        padding: const EdgeInsets.symmetric(horizontal: 15),
        child: Column(
          crossAxisAlignment: CrossAxisAlignment.center,
          children: [
            CommonTextField(
              type: CommonTextFieldType.clear,
              keyboardType: TextInputType.number,
              onTextChanged: (str) {

              },
            ),
            const SizedBox(height: 10,),
            CommonTextField(
              type: CommonTextFieldType.password,
              keyboardType: TextInputType.text,
              onTextChanged: (str) {

              },
            ),
            const SizedBox(height: 10,),
            MainButton(text: '登录', onClick: () {

            })
          ],
        ),
      ),
    );
  }
}
